/*
 * @Description: Test_Break_Label
 * @Author: rendc
 * @Date: 2024-09-03 11:26:51
 * @LastEditors: rendc
 * @LastEditTime: 2024-09-03 11:32:46
 */
public class Test_Break_Label{
  // main
  public static void main(String[] args){
    // System.out.println("Test_Break_Label");
    label1: for(int j=0; j<10; j++){
      System.out.println("j="+j);
      for(int i = 0; i < 5; i++){
        if(i == 2){
          break label1;
        }
        System.out.println("i="+i);
      }
    }
  }
}